from flask import Flask,jsonify
app=Flask(__name__)
# 加载配置文件
from config import Config
app.config.from_object(Config)
# 配置跨域
from flask_cors import CORS
CORS(app)
# 注册蓝图
# from course import bp_course
# app.register_blueprint(bp_course)

@app.route('/test')
def test():
    res='778'
    return jsonify({'list':res})

if __name__=='__main__':
    app.run(debug=True)
